import { PartialType } from '@nestjs/mapped-types';
import { CreatePostDto } from './create-post.dto';
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { IsNumber, IsNotEmpty, IsArray } from 'class-validator';
import { Category } from 'src/modules/categories/entities/category.entity';
import { Tags } from 'src/modules/tags/entities/tag.entity';

export class UpdatePostDto extends PartialType(CreatePostDto) {}
